package com.xy.classadapter;

/**
 * @author 谢阳
 * @version 1.8.0_131
 * @date 2022/6/11 14:18
 * @description
 */
public class Client {
    public static void main(String[] args) {

        System.out.println("====类适配器模式====");
        Phone phone = new Phone();
        phone.charging(new VoltageAdapter());
    }
}
